#ifndef GEOMETRY_H_
#define GEOMETRY_H_

#include<cmath.h>

namespace geometry{

	struct Coord{
		double x;
		double y;
		double z;
	};
	
	
	double distance (const Coord& c1, const Coord& c2){
		return sqrt(pow(c1.x - c2.x, 2) + pow(c1.y - c2.y, 2) + pow(c1.z - c2.z, 2));
	}
	
	double distance2D (const Coord& c1, const Coord& c2){
		return sqrt(pow(c1.x - c2.x, 2) + pow(c1.y - c2.y, 2));
	}
	
		
}

#endif /*GEOMETRY_H_*/
